import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
const { resolve } = require('path')

console.log(resolve(__dirname, 'src'))
// https://vitejs.dev/config/
export default defineConfig({
	plugins: [vue()],
	resolve: {
		// 文件扩展名
		extensions: ['.js', '.json', '.vue'],
	},
})
